package nc.ui.arap.buttonstat;

import nc.ui.arap.engine.ExtButtonObject;
import nc.ui.arap.engine.IActionRuntime;
import nc.ui.arap.engine.IButtonStatus;
import nc.ui.arap.flow.informer.ARDZTZMainPanel;

public class DztzQueryBtnStatusListener implements IButtonStatus {

	public void updateButtonStatus(ExtButtonObject bo, IActionRuntime runtime) {
		if (!(runtime instanceof ARDZTZMainPanel)) return;
		ARDZTZMainPanel panel = (ARDZTZMainPanel) runtime;
		if (panel.isinit) {
			bo.setEnabled(true);
		}
	}

}
